cmake_minimum_required(VERSION 3.10)
project(helloworld)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)

# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden")

# # 搜索 CPR 库
# find_package(UT-CPR REQUIRED)
# find_package(UT-DBus REQUIRED)

# add_executable(${PROJECT_NAME} main_copy.cpp)
# target_link_libraries(${PROJECT_NAME} PRIVATE dl pam readline)
# # target_link_libraries(${PROJECT_NAME} PRIVATE UT::CPR UT::DBus pam)

# # libnss_yang.so
# add_library(nss_yang SHARED nss_yang.cpp)

# add_executable(test_eventloop main_eventloop.cpp)
# target_link_libraries(test_eventloop PRIVATE UT::DBus)

# add_subdirectory(gio_test)
# add_subdirectory(login_time_limit)
# add_subdirectory(ut_dev_test)
# add_subdirectory(pam_nss)
# add_subdirectory(unix_socket)
# add_subdirectory(switch_scene)
# add_subdirectory(qt_test)
# add_subdirectory(curl_download_tool)
add_subdirectory(vnc_record)

# add_subdirectory(test)
